<script>
import TIMManager from '@/common/tim.js';
export default {
	globalData: {
		BASEURL: 'https://java.heiwangke.net/hhk-shop-api',
		WEBIMG: 'https://java.heiwangke.net/'
	},
	onLaunch: function () {
		console.log('App Launch');
		TIMManager.init();
		uni.setInnerAudioOption({
			obeyMuteSwitch: false
		});
	},
	onShow: function () {
		uni.getSystemInfo({
			success: function (res) {
				uni.setStorageSync('safeAreaInsets', res.safeAreaInsets);
			}
		});
	},
	onHide: function () {
		console.log('App Hide');
	},
	methods: {}
};
</script>

<style>
.flex_r {
	display: flex;
	flex-direction: row;
}
.flex_c {
	display: flex;
	flex-direction: column;
}
.flex1 {
	flex: 1;
}
.icon_ {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.img {
	width: 100%;
	height: 100%;
}
/*每个页面公共css */
</style>
